﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Shopping.Master" AutoEventWireup="true"
    CodeBehind="ShoppingCheckOut.aspx.cs" Inherits="E_Shop.ShoppingCheckOut" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <!-- Shipping address Box -->
    <h4 class="item_box_title">
        <span class="tt"><span class="f_red">Check and place</span> your order</span></h4>
    <div class="item_container clearfx">
        <!-- part begin -->
        <fieldset id="sendToBox" class="cart_field">
            <div class="whitebox clearfx">
                <!-- Item Box-->
                <p class="tt">
                    Ship To</p>
                <div class="wrap_rel">
                    <div class="btn_box">
                        <a href="javascript:void(0)" id="edit_address_url" class="btn_sG vt"><span>EDIT</span></a></div>
                </div>
                <div class="item_box">
                    <p>
                        Software_Cop<br/>
                        LE CONG HAI<br/>
                        Tran Hung Dao,&nbsp; Ho Chi Minh,&nbsp;Dictric 1,&nbsp;&nbsp; 71999<br/>
                        Tel : 84-1699432093<br/>
                        Fax :
                        <br/>
                    </p>
                    <!-- <textarea cols="120" rows="5" class="f_textarea" style="display:none;">e.g.) Color, Size</textarea>  -->
                    <!-- modify -->
                </div>
                <!-- //itembox -->
            </div>
        </fieldset>
        <!-- part end -->
        <!-- part begin -->
        <fieldset class="cart_field ma_t10">
            <legend class="item_box_sub_tt"><span>Order Details</span></legend>
            <div class="whitebox clearfx">
                <!-- Item Box-->
                <div class="item_box">
                    <!-- Seller Info -->
                    <div class="seller_box clearfx">
                        <span class="ls_name">jewel</span> <span class="ls_id"></span>
                        <!-- <div class="rank"><div  class="star s2"></div></div> -->
                    </div>
                    <!-- //Seller Info -->
                    <table width="100%" cellpadding="0" cellspacing="0" class="cart_tb txt_c">
                        <colgroup>
                            <col>
                            <col>
                            <col>
                            <col width="15%">
                        </colgroup>
                        <thead>
                            <tr>
                                <th style="width: 20%">
                                    Item
                                </th>
                                <th style="width: 25%">
                                    Dcription
                                </th>
                                <th style="width: 15%">
                                    Unit price
                                </th>
                                <th style="width: 10%">
                                    Quantity
                                </th>
                                <th style="width: 15%">
                                    Total
                                </th>
                            </tr>
                        </thead>
                        <tbody>
                            <tr>
                                <td class="item no_l" style="width: 20%; text-align: center">
                                    <asp:Image ID="ImageProduct" runat="server" />
                                </td>
                                <td class="width-700" style="width: 25%; text-align: center; text-align: left">
                                    <asp:Label ID="lbDecrip" CssClass="lbDecript" runat="server" Text="Label"></asp:Label>
                                </td>
                                <td class="ls_price" style="width: 15%; text-align: center">
                                    <asp:Label ID="lbPrice" runat="server" Text="Label"></asp:Label>
                                </td>
                                <td style="width: 10%; text-align: center">
                                    <script type="text/javascript">
                                        function CountPrice() {

                                            //var price = document.getElementById(lbPrice).value;
                                            var num = $("#<%=lbtotal.ClientID %>>").val();
                                            alert(num);  //document.getElementById(lcsoluong).value;
                                            var total = price * num;
                                            document.getElementById(lbSubtotal).text = total
                                            document.getElementById(lbtotal).text = total
                                        }
                                    </script>
                                    <asp:TextBox ID="lcsoluong" runat="server" Width="20px" AutoPostBack="true" OnTextChanged="lcsoluong_TextChanged">1</asp:TextBox>
                                </td>
                                <td class="ls_price f_red fb" style="width: 15%; text-align: center">
                                    <asp:Label ID="lbtotal" runat="server" Text="Label"></asp:Label>
                                </td>
                            </tr>
                        </tbody>
                    </table>
                    <div class="clearfx  ma_b10">
                        <!-- Msg -->
                        <div class="msg_box clearfx">
                            <p class="msg_tt">
                                Leave a comment</p>
                            <textarea cols="50" rows="5" class="f_textarea read" style="width: 370px"></textarea>
                            <!-- //Msg -->
                            <!-- Price -->
                            <div class="costbox" style="float: right">
                                <ul class="ls_type clearfx">
                                    <li><span class="tt">Sub total</span><span class="val">
                                        <asp:Label ID="lbSubtotal" runat="server" Text="Label"></asp:Label>
                                    </span></li>
                                    <li><span class="tt">Shipping Cost </span><span class="val">
                                        <asp:Label ID="lbShip" runat="server" Text="Label"></asp:Label>
                                    </span></li>
                                    <li class="total"><span class="tt">Grand total</span><span class="val f_red">
                                        <asp:Label ID="lbGrantotal" runat="server" Text="Label"></asp:Label>
                                    </span></li>
                                </ul>
                            </div>
                            <!-- //Price -->
                        </div>
                        <div class="cost_box clearfx">
                        </div>
                    </div>
                </div>
                <!-- //itembox -->
            </div>
        </fieldset>
        <!-- part end -->
        <!-- part begin -->
        <fieldset class="cart_field ma_t10">
            <legend class="item_box_sub_tt"><span>Select payment options</span></legend>
            <div class="whitebox clearfx">
                <!-- Item Box-->
                <div class="item_box">
                    <label>
                        <input name="btype" type="radio" class="f_radio" value="paypal" checked="">
                        <img src="http://image.ecplaza.net/global/trademall/common/img_paysytem.gif" alt="PayPal"
                            class="vm"><img src="http://image.ecplaza.net/global/trademall/common/img_paycard.gif"
                                alt="" class="vm"></label>
                </div>
                
                <!-- //itembox -->
            </div>
        </fieldset>
        <!-- part end -->
    </div>
    <!-- Shipping address Box -->
    <div class=" clearfx txt_c btn_box ma_t30">
         <asp:Button ID="Button1" CssClass="btn_submit" runat="server" 
            Text="Make Payment" onclick="Button1_Click" />
    </div>

    
    
</asp:Content>
